/**
 * Author:MangoDai
 *
 * Date:${Date}
 *
 * Description:
 *
**/
 
#include <iostream>
using namespace std;
int main(){
	int i;
	while (cin >> i) {
		int j = (i - 2) % 4;
		if (0 == j) {
			cout << "yes" << endl; 
		} else {
			cout << "no" << endl;
		}
	}
	return 0;
}
